<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [

    'default_return_type'=>'json',
    // +----------------------------------------------------------------------
    // | api 返回代码 配置
    // +----------------------------------------------------------------------
    // 失败的代码
    'err_code'          => [
    	'0000'	=>	"未知错误！",
    	'0001'	=>	"无效的版本号！",
    	'0002'	=>	"非法访问！",
    	'0003'	=>	"参数错误！",
    	'0004'	=>	"卡号不存在！",
    ],
    
	// 成功的代码
    'suc_code'          => [
    	'1000'	=>	"成功！",
    ],
    // +----------------------------------------------------------------------
    // | 授权key
    // +----------------------------------------------------------------------
    'auth_key'		    =>[
    	"zwzl_admin"
    ]
];
